Skip to main content
Version: 11.x

Type alias: HTTPBatchLinkOptions<TRoot>

HTTPBatchLinkOptions: <TRoot> HTTPLinkBaseOptions< TRoot > & {headers: HTTPHeaders | (opts) => HTTPHeaders | Promise< HTTPHeaders >; maxURLLength: number;}

HTTPBatchLinkOptions.headers

optional headers: HTTPHeaders | (opts) => HTTPHeaders | Promise< HTTPHeaders >

Headers to be set on outgoing requests or a callback that of said headers

http://trpc.io/docs/client/headers

HTTPBatchLinkOptions.maxURLLength

optional maxURLLength: number

Type parameters

Parameter
TRoot extends AnyClientTypes

Source

packages/client/dist/links/HTTPBatchLinkOptions.d.ts:5


Generated using TypeDoc and typedoc-plugin-markdown